package org.panda.ioc.nvr;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConditionalOnBean(EnabledNvrComponent.class)
@ConditionalOnProperty(prefix = "nvr.device", value = "type", havingValue = "hc-net")
@ConfigurationProperties(prefix = "nvr.device.hc-net")
@Configuration
public class HcNetDeviceProperties {
    public HcNetDeviceProperties(){
        System.out.println("HcNetNvrAutoConfiguration init");
    }
}
